package org.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author : xuzhennan
 * @Project : 787k-cloud
 * @Package : org.example
 * @email : xuzhennan@58.com
 * @date : 2021年08月29日 上午9:28
 */
@SpringBootApplication
//开启服务发现
@EnableDiscoveryClient
//开启Feign支持
@EnableFeignClients
@MapperScan("org.example.dao")
public class ArticleApplication {
    public static void main(String [] args){

        SpringApplication.run(ArticleApplication.class,args);
    }
}
